package com.ctgu.examonline.service;

import com.ctgu.examonline.entity.Answer;

import java.util.List;

/**
 * Created by 段敏杰 at 2020-08-06 21:23
 */
public interface AnswerService {
    //查询所有答案
    List<Answer> listAnswer();

    //增加一个答案
    void saveOneAnswer(String ans_detail,Integer pro_no);
    //删除一个答案
    void removeOneAnswer(Integer ans_no);
    //修改一个答案
    void updateOneAnswer(String new_ans_detail,Integer ans_no);
    //查询一个答案
    Answer getOneAnswer(Integer ans_no);
}
